<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Language" content="English" />
      <title>Advanced features</title>       <meta http-equiv="Content-language" content="en-US">
  </head>
    <body>
        <div>
            <h3>Tutorial 3: Advanced features</h3>
            <ul>
                <li><a href="./advanced_features.html">Automatic layout</a></li>
                <li><a href="./telnet.html">Telnet for virtual device access</a></li>
                <li><a href="./adding_new_language.html">Adding new lanugage</a></li>
            </ul>
            
            <hr>
            
            <h1>Advanced features</h1>

            <p>First, we will talk about <b>Automatic layout</b> feature.</p>

            <h2>Automatic layout</h2>
            
            <p>The original idea of automatic layout included loading network without information
                about component position. The program would place component automatically. When
                developing PSImulator project, we found out, that the network would be created
                only in graphic editor, so the automatic layout feature is not necessary any more.</p>

            <p>Automatic layout remains in program as an example of Genetic algorithm usage.</p>
            
            <h3>How to invoke automatic layout</h3>
            
            <p><b>Open</b> some existing network first.</p>
  
            <p><b>Automatic layout</b> can be accessed by clicking the <b>right mouse button</b> anywhere
                except on components:</p>
            
            <img src="../../../../images/en/network_right_click.png" >
                  
            <h3>Running the alorithm</h3>
            
            <p>Automatic layout is implemented using <b>Genetic algorithm</b> and is time-consuming. 
                After start of GA you will see the following screen:</p>
            
            <img src="../../../../images/en/genetic_algorithm.png" >
            
            <p>You can cancel the algorithm anytime.</p>
            
            <p>After finnishing the algorithm the dialog will close automatically and
                the <b>result will be displayed</b>:</p>
            
            <img src="../../../../images/automatic_layout_performed.png" >
            
            <p>Next part of this tutorial is: <a href="./telnet.html">Telnet for virtual device access</a>.</p>
        </div>
    </body>
</html>
